﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class MyEnumerable<T>
{
    private List<T> list;

    public MyEnumerable(List<T> list)
    {
        this.list = list;
    }

    public IEnumerable<T> GetEnumerator(int from)
    {
        for (int i = from; i < list.Count; i++)
        {
            yield return list[i];
        }
    }
}